package com.ruoyi.generator.domain;/**
 * Created by NINGMEI on 2024/1/17.
 */

import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Author NINGMEI
 * @Date 2024/1/17 17:29
 * @Description
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class GenSqlColumn extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 列名称 */
    @NotBlank(message = "列名称不能为空")
    private String columnName;
    /** 列类型 */
    @NotBlank(message = "列类型不能为空")
    private String columnType;
    private String columnLength;
    private String columnPoint;
    /** 列是否可为空 */
    private Boolean columnIsNull;
    /** 列是否为主键 */
    private Boolean columnIsPrimary;
    /** 列描述 */
    @NotBlank(message = "列描述不能为空")
    private String columnComment;
}
